<?php
     $result =  $_POST['a']+$_POST['b'];
     echo "{\"result\": ".$result."}";
?>